<?php /* Smarty version 2.6.16, created on 2009-04-20 01:28:08
         compiled from AddBlog.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'AddBlog.html', 3, false),array('function', 'messages', 'AddBlog.html', 5, false),array('function', 'language', 'AddBlog.html', 8, false),array('modifier', 'escape', 'AddBlog.html', 10, false),array('modifier', 'process_code', 'AddBlog.html', 58, false),)), $this); ?>
<?php if (! $this->_tpl_vars['bAdded']):  echo $this->_tpl_vars['sValMess']; ?>

<form method="post" action="<?php echo smarty_function_url(array('link' => 'public.account.submit.add-blog'), $this);?>
" style="margin:0px;" onsubmit="<?php echo $this->_tpl_vars['sValJs']; ?>
">
<div style="padding:30px;font-size:10pt;" class="color">
<?php echo smarty_function_messages(array(), $this);?>

<table style="width:100%;" cellspacing="2" cellpadding="4">
<tr>
    <td style="text-align:right;" class="color"><span class="star">*</span> <?php echo smarty_function_language(array('text' => 'blog_title'), $this);?>
:</td>
    <td class="border13">
        <input type="text" name="val[title]" maxlength="150" size="30" onfocus="this.className='inputmain';" onblur="this.className='';" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['aValues']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
    </td>
</tr>
<tr>
    <td style="text-align:right;vertical-align:top;" class="color"><?php echo smarty_function_language(array('text' => "Mod_Tag.tags"), $this);?>
:</td>
    <td class="border13">
        <input type="text" name="val[tags]" maxlength="80" size="30" onfocus="this.className='inputmain';" onblur="this.className='';" value="<?php echo $this->_tpl_vars['aValues']['tags']; ?>
"/>
        <br /><?php echo smarty_function_language(array('text' => "Mod_Tag.tags_details"), $this);?>

    </td>
</tr>
<tr>
    <td colspan="2" align="left">
    <br/>
        *<?php echo smarty_function_language(array('text' => 'content'), $this);?>

        <span style="padding-left:10px;font-size:7pt;">
            <a class="link_action" href="<?php echo $this->_tpl_vars['sUrl']; ?>
#" onclick="popUp2('<?php echo smarty_function_url(array('link' => 'public.popup.htmlguide'), $this);?>
#html','500','500','yes','200','100'); return false;">[ <?php echo smarty_function_language(array('text' => 'html_guide'), $this);?>
 ]</a>
        </span>
        <div style="padding:5px;">
            <textarea style="width:100%" cols="50" rows="15" name="val[content]" id="maintext" onfocus="this.style.backgroundColor='#fff';" onblur="this.style.backgroundColor='#F6F6F6';"><?php echo $this->_tpl_vars['aValues']['content']; ?>
</textarea>
            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sMainTemplatePath'])."/_blocks/smilies.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        </div>
    </td>
    </tr>
    <tr>
        <td colspan="2"><span class="star">*</span> - <?php echo smarty_function_language(array('text' => 'mandatory_fields'), $this);?>
</td>
    <tr>
        <td></td>
        <td>
            <input name="act[add]" value="<?php echo smarty_function_language(array('text' => 'submit_blog'), $this);?>
" class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" type="submit">
        </td>
    </tr>
</table>

</div>
</form>
<?php else: ?>
<div style="padding:10px;font-size:10pt;" class="color"><div class="border13"><div style="padding:5px;">
<div style="padding:5px;"> <?php echo smarty_function_language(array('text' => 'below_you_can_view_what_y'), $this);?>

  <br /><br />
  <span style="font-size:7pt;">
      <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.myitems.blog.edit','id' => $this->_tpl_vars['aItem']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'edit'), $this);?>
 ]</a>
      &nbsp;
      <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.submit.add-blog'), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'submit_more'), $this);?>
 ]</a>
      &nbsp;
      <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.myitems.blog','delete' => $this->_tpl_vars['aItem']['id']), $this);?>
" onclick="return confirm('<?php echo smarty_function_language(array('text' => 'are_you_sure_that_you_wan_193'), $this);?>
');" >[ <?php echo smarty_function_language(array('text' => 'delete'), $this);?>
 ]</a>
  </span>
  </div></div></div>
  <br /><br />
  <div style="font-size:8pt;"><?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['text'])) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)); ?>
</div></div>
<?php endif; ?>